<form class="layui-form" lay-filter="tpl_recruit{$recruit_id}" action="{:url('recruit/saveData')}">
	<input type="hidden" name="recruit_id" class="layui-input" />
	<div class="layui-form-item">
		<label class="layui-form-label">岗位名称</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<input type="text" name="position_name" lay-verify="required" placeholder="请输入岗位名称" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">薪资待遇</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<textarea name="pay_info" class="layui-textarea"></textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">岗位职责</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<textarea name="duty_info" class="layui-textarea"></textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">任职资格</label>
		<div class="layui-input-block layui-col-md8 margin-left0">
			<textarea name="entitled_info" class="layui-textarea"></textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">招聘图标</label>
		<div class="layui-input-block">
			<blockquote class="layui-elem-quote layui-quote-nm">
				<div class="layui-upload-list" id="layui-upload-list{$recruit_id}">

				</div>
				<div class="layui-upload-drag icon_pictures_upload" id="icon_pictures_upload{$recruit_id}">
					<i class="layui-icon layui-icon-upload"></i>
					<p>点击或拖拽上传</p>
				</div>
				<div style="clear: both;">

				</div>
			</blockquote>
		</div>
	
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_recruit">保存数据</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script src="/static/um/umeditor.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/um/lang/zh-cn/zh-cn.js" type="text/javascript" charset="utf-8"></script>
<script>
	// 赋值
	var recruit_id = "{$recruit_id}";
	var recruit_form_value = {$data};
</script>
<script src="/static/js/recruit/recruit_tpl.js" type="text/javascript" charset="utf-8"></script>
